Implement multiple sockets in a more sane way
Not the best