Set state to disconnected if the server doesn't support any of our trans...

Set state to disconnected if the server doesn't support any of our transports.

If a connection attempt failed because the server didn't support the specified transports the socket instance ends up with a state of connecting. Because no transport was connected or attempted a connection the state is never reset and no further reconnects are done.