Support custom request headers

Fixes OAuth authentication issues