Minor rev, added should_redirect_host and should_serve_content functions