utils/ofhttp: Allow specifying headers and proxy