Fixed issue where packets_connack_sent metric was not incremented on CONNACK packets sent with non-zero ack_flag