common: Use documented names for protocol family in socket()