Removed connect() on the socket.

According to https://docs.python.org/2/library/socket.html#socket.socket.sendto the sendto() should only be used when not connected. Removed connect since sendto() connect to the specified address. 

This patch fixes the prolem on OS X.