Added optional tracing (controlled by "log_sending_g2") of G2 messages we send.