If anyone knows of a proxy stratum that can be used in the middle to point to other pools I'd consider going this way and modifing it to track shares.
There is a java based proxy available
https://github.com/Stratehm/stratum-proxy - maybe that could work. I'd love to be able to put together some profit switching on my own, but I can't program!