connect through socket when host is omitted
new config class... ugly one