[sr-dev] git:pd/websocket: core: tidied up websocket frame length code