New: Process http headers from mapping blocks for each http method.
Merge pull request #3 from pinut/rest-headers

New: Process http headers from mapping blocks for each http method.