CORS support
Cors related refactoring
Optimized imports
HSTS support
minor refactoring
Write HSTS header only on secure connection.