construct fields in declaration where possible
socks server lifecycle: detailed descriptions for onceStarted and onceStopped promises, with unit tests and TODOs for where we need integration tests
re-generate this file, minus private members
add onceStarted to the .d.ts
add the other public methods, for unit tests
make it clear that onceStarted rejection calls stop and add tests for stop
remove dumb call to setResources
refactor onceReady and onceStopped in response to feedback
add new public methods to defintion for sake of completeness
rename configure to start and have it return onceReady
have stop return onceStopped
clarify tcp server startup comment
make session.tcpconnection field private
mock listen and close methods on tcp server and peerconnection rather than spying on socks server methods
Merge branch 'dev' into trevj-socks-lifecycle
little bit of type safety
bump patch version for socks server lifecycle fixes
Merge pull request #137 from uProxy/trevj-socks-lifecycle

SOCKS server life-cycle: detailed definitions and unit tests for onceStarted and onceStopped promises