utils/ofhttp: Add options for method and entity