Moved some socket stuff around
Merge branch 'master' of https://github.com/ToyDragon/CodeNameImpregnable