instance method Client#connect
Client#connect() → undefined
Makes this Client
instance attempt to connect to the currently
set WebSocket server. This function will connect the underlying socket
connection on a network level, and call the Client#onOpen
event
when the connection is properly established, and the WebSocket handshake
is successful.