SockJSSocket should extend ReadStream and WriteStream