Used simpler sockets instead of twisted