peerconnection only has close(), no shutdown()
Merge pull request #19 from uProxy/ts-refactor

ts refactor #3 - addendum