Reorganize, add Tobba's Packet.js/Socket.js code.