Fix for issue with UDP multicast socket on OSX.

Previously I was unable to bind multiple listeners to the same multicast
socket as OSX seems to require SO_REUSEPORT option to also be set on the
socket.

Resolves #2937.