Use an explicit stop signal to gracefully exit the SOCKS proxy accept loop
Fix random range edge conditions and add comments for clarity
Merge branch 'master' of https://github.com/Psiphon-Labs/psiphon-tunnel-core
Merge pull request #34 from rod-hynes/master

Bug fixes