Removed unused dependencies
Correctly check proxy auth string