Add a -4 flag to force ipv4

It's helpful to be able to force connections over ipv4.