only include IPv4 headers if we have IPv4 networking enabled, only include socket headers if we have BSD Sockets