pub fn parse_request(val: &Value) -> Result<Request>
Parse a request from a JSON/YAML value, expanding header shortcuts.