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

does empty() no longer exist?  Meyers says "Prefer empty() over size() == 0".