switch to sockets.tcp for the socket provider

Tested with 'grunt integration', which verifies that basic tcp functionality works.
Note that manifests of chrome apps using this version will need to change per https://developer.chrome.com/apps/app_network
Was already there - and was useful for debugging. I just expanded it to see if it was really a partial send or an error code in disguise.