websocket interface, but actually talks xhr to a polysocket-relay