Run nsock tests by typing make check from nmap/ or nsock/src/
Display actual error codes in the nsock messages.

Refactored the code a bit too.
Don't set SO_BROADCAST on SOCK_STREAM sockets.

This doesn't make sense and raise verbose errors, at least on Windows.
See: http://seclists.org/nmap-dev/2013/q2/313