removing use of self.window. crashes on node.js
Merge branch 'dev' into ryscheng-radiatus

Conflicts:
	src/rtc-to-net/rtc-to-net.ts
	src/socks-to-rtc/socks-to-rtc.ts
Merge pull request #169 from uProxy/ryscheng-radiatus

removing use of self.window. crashes on node.js