getconnections rpc
improve getconnections