fix heuristics handling
Merge branch 'master' of github.com:fileability/ternproxy