[PATCH 02/10] rpc: change 'isServer' parameter from 'int' to 'bool'