Fixing code errors preventing the http and socks5 module from working