Support for setting proxy-share difficulty for stratum and getwork proxies

Supercedes #456 and closes #466