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-2.10.x
Bugfix: icarus: Check for valid fd before all usage

Conflicts:
	driver-icarus.c