soon-to-be MySQL proxy with hook system written in python 2