Fix TypeScript errors related to conversion to new core.tcpsocket.

Fix TypeScript errors related to conversion to new core.tcpsocket.

Issues still remaining to be fixed on another pull request:
* Getting the following typescript error for Promise.all
** >> /Users/dborkan/github/socks-rtc/src/socks-to-rtc/tcp.ts(150,17):
** >> error TS2082: Supplied parameters do not match any signature of call target:
** >> 	Type 'any[]' is missing property 'then' from type 'Thenable<{}>'.
* errors in src/chrome-providers/chrome-tcpsocket.ts, may be related to merge issues from the most recent mis-merged pull request