Default to localhost when no address is given in connect.