use direct socket connection for stream

Sigh.  Chrome's XHR stalls until you've got a few K of data on a long
poll, which doesn't work for us.  Hence, chrome.socket!

Minimal HTTP client implemented with chunked processing to handle basic
message receiving.  tcp-client.js stolen from Chrome Apps telnet demo.