Fixes to StratumConnection and Auth