If no host is set, do not automatically connect to localhost; instead connect by socket