fix typo
Fix typescript errors related to promises.
Merge pull request #68 from uProxy/dborkan-new-tcp

Fix typescript errors related to promises.
its endpoint now not endpointinfo
do not repeat your logging messages
Merge branch 'master' into yangoon-udp-relaying

Conflicts:
	src/socks-to-rtc/socks.ts
closeConnectionToPeer and terminate_ should check for existence of tag in this.channels_
simplify promise chain
return a promise rejection rather than throwing an error
underscore suffix for private members