ipv4: pick more random protocols in socket creation.

the proto/type switch was inside-out, and should pick protocol first,
given the much wider choice.