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

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