Added functionality to attempt connecting to multiple endpoints
Added endpoint failover test
Improve multi endpoint connection functionality (better compatibilty with a pure ws server)