Get the host info before deleting the host header