Will use plain http by default.