fixes #84

Adding custom transports via transport factories.
The `longpoll.options.use` is to enforce use of long-polling even if WebSocket is natively available in the browser?