idcounter inner field made static
new IDGenerator generate method.
minor changeº
New Rpc.Sync and Rpc.Proxy inner static classes.
Refactored Rpc into RpcImpl.
fixed tests because Rpc has been refactored.
minor change