Adding support for HTTPS load-balancing

Making HTTPS support optional