Unminified ReconnectingWebSocket function.