Go to Edit → Preferences
Click Advanced and choose Network, then Settings
Choose Manual proxy configuration and place IP address to SOCKS Host, port to Port
After that choose SOCKS v4 for 4 version of socks or SOCKS v5 for 5 version of socks
Click OK