Impostor for WebSocket to make it compatible with the TCP server.
Creates a new SocketImpostor instance.
The WebSocket to wrap.
Static
Closes the WebSocket connection.
Optional
Writes data to the WebSocket.
The buffer to write.
Impostor for WebSocket to make it compatible with the TCP server.