first attempt at passing in headers

WIP not ready

All of the tests uses a string as `$option`, so I don't think this code was actually tested.