Remove unused variable opt_udpmode

This is now superseded by opt_proto.