sockopt provides a more complete interface to POSIX's (set|get)sockopt