using https://github.com/ideal/mysql-replication-listener library to remove boost dependency