fix bug in handling large websocket blobs