added custom http header support (see sample method)