Add ability to specify custom options like headers for REST requests