Fixed src/net.h for better protocol migration
Fixed chmod for src/leveldb/build_detect_platform
Merge pull request #2 from f0o/master

Fixed minor things