Add HSTS (HTTP to HTTTPS redirection) support, and default user agent.