Using online url for socket

Changed the socket connection to use the online url provided from the view model instead of hard-coding the value to be localhost