Making binlog_player_protocol flags part of env