Enable asynchronous handling of RPC over HTTP (RIPD-390)

perfect use of auto (because make_shared tells you the type anyway).