obfsproxy: Please review portability fixes
As a way of getting familiar with the code, I've done a bunch of portability fixes and cleanups to obfsproxy. Please review https://github.com/zackw/obfsproxy-port-fixes/compare/master...port-fixes and pull if you like 'em.