Use the --socks-proxy option with stratum, changing it to defaulting to socks5 and give appropriate message should it fail to connect.