Minor code duplication removal

Removes duplicated classes that were found in inspection https://scrutinizer-ci.com/g/Ocramius/ProxyManager/inspections/800d6cf2-8f6c-4c88-81f9-0313ddc06f6e