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

A large rewrite
It looks like there's no data in this base class.  Still, you might consider including an empty virtual destructor to follow the idiom.