Constructor
new Websocket()
PrivateConstructor: Strophe.Websocket Create and initialize a Strophe.WebSocket object. Currently only sets the connection Object.
Parameters: (Strophe.Connection) connection - The Strophe.Connection that will use WebSockets.
Returns: A new Strophe.WebSocket object.