Improvements to webSocket service

- Connection re-attempts on the close event
- explicit connection and re-connection
- additional provider methods:
  - setExplicitConnection
  - setMaxConnectionAttempts
  - setConnectionAttemptInterval