Remove a peer if the pointer isn't nil
Merge pull request #11 from armen/master

Remove a peer if the pointer isn't nil