Refactoring and performance improvement
Merge branch 'master' of https://github.com/ymx/autoproxy