Added additional functionality for storing socket descriptors into a seperate map