now listening to both http and https
added option to redirect all traffic to https