Split out host header, and use memset instead of kind-of-deprecated bzero