Add a way to configure the http scheme

Ok forget it.