Untested changes previously made and now put into version control. Basically it should make swift capable of listening to multiple sockets