include winsock.h before windows.h

If not, feasting-on-kittens WILL occur.

Do you want kittens to be eaten? Do you?

Also, -Werror gets fixed
by win32 demented logic, sizeof long != sizeof general purpose register
only need win32 atomics explicit usage on non-gnu
appease scary gnu cc 4.9.1 warning
appease control gnu cc flow graph with some unportable decls
on mingwin regex.h posix functionality doesn't exist per se
remove wrong/malicious comment
be extra overbearing of assert(3)
declare GPR-sized integral types, long useless due to win32
use them integral typoes
nix statement with no effect
atoll(3) mighta not be declared, fix the old-fashioned way
whine to stderr when too many non-getopt(3) arguments passed
add whiny comments