Added support for udp multicast in case this is supported.
Move socket specific stuff from tcp socket down in the socket hierarchy.