fixed #827 - more flexible solution with changing all headers into Symfony format