Add transport option.

It's now possible to specify a custom transport for WebSocket.