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
Nope, when called from errors in e.g. send, it is accompanied by a failure of the send promise, rather than a disconnect event.