[WO-508] Add STARTTLS support

TCPSocket now implements #upgradeToSecure() for chrome.socket and node.js.
Usage for chrome.socket.secure is untested and experimental.
Uses mocha for chrome integration test.