Support HTTP as well as HTTPS