RFM2PiGateway : use http or https according to settings