Internal: Lookup middleware class with a registered Symbol shortcut.
Returns a middleware Class.
Internal: Register middleware class(es) on the current module.
mapping - A Hash mapping Symbol keys to classes. See
Faraday.register_middleware for more details.
[Validate]