Bugfix: Stratum initiate: Clear json var after freeing it, to avoid a potential double-free if retry fails before new JSON is parsed
Merge commit 'aee7b3f' into bfgminer
Bugfix: icarus: Check for valid fd before all usage
RPC: Always build pga* and proc* methods