drop python 2.4 support; add MockClassicConnection