client: allow connections to localhost