Custom headers

Added support for passing custom headers into the API call