Enabled CORS and HSTS support.