Ability to use WebSocket as transport on prefetch

I need to use websocket on prefetch and remote.
I realize that you can use it in remote, but not on prefetch.
With this you can use a custom transport on prefetch.