Added the preserve-host-header option when running in proxy mode