typo and incomplete log message for HostBuilder
Slightly more generic socket factory