Updating peer socket creation