added the updated socket.php
Merge branch 'master' of https://github.com/rebeccamurphy/Hackathon-2013

merging with whatever jip has been doing