Support https as well
Ensure that headers are also sent