Feature/support header param

/to @ritch

This is not covered by any unit-test, is it?