…o it can retry messages.
…n attempt to open a WebSocket with the server to see if it can speak to the client properly.
…s closed during WebSocket handshake. This is probably caused by a user behind a proxy, breaking WebSocket connections. TODO browser should switch to a more reliable transport when WebSocket handshake fails.
…ithout dropping the messages.
… handshake. When using a reverse proxy to do the SSL heavy lifting, the proxy will talk plain http to Faye. In order to return the correct WebSocket-Location, Faye needs to know if the original request (between browser and proxy) was secure or not.
…ion sets an error. This is to make sure the server upholds the protocol requirements rather than ignoring the message's content.
…o be written to the socket while the connection is down.
…ens if messages are sent during disconnection.
…ing not typed as application/json is assumed to be using querystring-style request bodies.
… remember right now.