Fixed java.net.PlainSocketImpl.write() failure on Mac OS X for datagram sockets. (#76)