Adding support for https healthcheck

addresses issue #772 

I haven't had a chance to test it in a running environment