Support for running HTTPS; bug in Service constructor