SERVER-13645 proper headers in debug mode