Minor refactor of AddPeer/RemovePeer.
Merge pull request #112 from goraft/minor-refactor-add-remove-peer

Minor refactor of AddPeer/RemovePeer.