Socket commands do *not* route through proxies. You must do this yourself. Only internal IRC connections via mIRC utilize the proxy settings...

It'd be a nifty feature suggestion though.