A python socket class to simplify having multiple TCP sockets