Preparatory commits for "universal door"

These changes are needed to support the universal door.
Reviewers: @josh-ripple @mtrippled 
Line 246 calls this function:
https://github.com/vinniefalco/rippled/blob/misc/src/beast/beast/http/basic_parser.h#L120