Fix lot of small problems in InputOutputBuffers.
Update UdpMulticastSocket and simplify UdpMulticastSocket::write().
Update UdpMulticastSocket test.
Update Makefiles in test/.