debug logging; ssl proxy header setting