More thorough 32 bit support.

Adds signed and unsigned 64 bit numbers for getsockopt and setsockopt.