Configuration service: Niceify code, handle Expect header properly.