Add socket to send the wifi info to server