Added ability to set custom headers in request. Fixes issue #47