Received unknown response:
try "-esm 2" option. Or better use different pool that has some help page that mentions what proxy mode should be used so you can understand what "-esm" mode must be used. Because at the moment there are three stratum modes/proxies and it's a good idea to mention on help page what stratum proxy must be used.