Join a multicast group.
If an error occur when trying to join the multicast group an exception is thrown.