Sends a message using an output stream.
A WebSocketException is thrown if the connection gets closed before or during the transfer of the message.
See Implementation
Sends a message using an output stream.