Abstract out underlying websocket driver
Add xhr for node. Refactor jsonp.
tests for jsonp receiver logic