canonicalize_host
if (canonicalize_host(host, ph, sizeof(ph)) == NULL) {
const char *canonicalize_host(const char *, char *, size_t);