Saves socket instances inside the Rhapsody global variable.