Merged async and sync rpc protocols, #105.