Fixed src/net.h for better protocol migration
Fixed chmod for src/leveldb/build_detect_platform