Default to localhost without anything else but the server's definition

#1052.