Implement disable_hostname_check config option.