[bithorded/server/server]Change socket-permission-code to use plain POSIX since older boost::fs doesn't have permissions-manipulation.