an `XHR` polyfill using `chrome.sockets.tcp`