Changed the connect method to a public API, so that a user can manually ...

...connect/reconnect. Refresh doesn't work if the user manually closed the connection, forcing the user to recreate the Reconnecting Websocket Object and redefine all methods for it. This pull request solves this problem.