client
Establish a connection. The remote server will select the best subprotocol that it supports and send that back when establishing the connection.
should be a standard websocket url
boolean
Array<Function>
EventEmitter