getblocktemplate fixes for stratum