async socket definition - socket.io file will not be packaged with application