added Com service with integrated websocket angular factory
added socket.io support to server.js and lib/com.js