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
If you have tcpServer permissions but not tcp permissions, only the second block will run