Added get_connections RPC call to daemon

Adds get_connections RPC call to daemon.  Everything builds just fine and this does not change any existing functionality, so there should be no issue merging it upstream.