Hopefully fixed some keep alive stuff

Also added the SingleInstanceClients option to the server so that only
one connection can be made per IP address. This should help prevent
abuse.