allow rpc server as an option.
fix argument allocation.
argument refactor.
disable multiple instantiations.
add GetInfo().
add GetPeerInfo(). fix GetInfo().
fix GetInfo() and GetPeerInfo().
add "peer" and "version" event.
add GetAddresses(). add "addr" event.
clean up GetAddresses().
improve example.