new rpc commands: getpeers, getnumpeers
add new commands to main script