SOCKS5 and HTTPS are the secure versions of SOCK and the HTTP protocol respectively. However, while HTTPS proxies are meant for the HTTP/HTTPS protocol, the SOCKS5 proxies are low-level and can handle most Internet protocols. It also supports both TCP and UDP connections as opposed to HTTPS that supports only TCP.