first attempt at passing in headers

WIP not ready

I think you meant `$key`, not `$options`