Also, separate files for different proxies is better. Should be one-class-per-file, and HTTP/SOCKS5 should definitely be separate classes.