Help prevent 'address already in use' error

As suggested at
http://docs.python.org/2/library/socket.html#module-socket
Merge pull request #6 from pallandt/master

Help prevent 'address already in use' error