Switch to the generic RpcServer, closes #259.

I wonder if we should have a range or within function, that wraps up these two min/max calls.