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 https://github.com/twitter/typeahead.js/issues/338, but not on prefetch.
With this you can use a custom transport on prefetch.