Auto configure

From Host and X-Scheme headers