Populate sockets object upon connecting