Updated required versions of AngularJS and Socket.IO. Added ability to connect to alternate URL. Refactored code.