socket.addMembership() can throw
Merge pull request #2 from nebulade/master

socket.addMembership() can throw