Corrections for Websocket
MemoryStreamTest added