Make IP version parameter optional and don't set it at all by default