Improvements to HTTP/S-RPC server (RIPD-489, RIPD-533)

A large rewrite
Seems I already thought of it
https://github.com/vinniefalco/rippled/blob/httpd/src/beast/beast/http/impl/basic_parser.cpp#L79