Bugfix: Correct --log-file error message
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 '21747fe' into bfgminer-3.2.x
Merge commit 'aee7b3f' into bfgminer-3.2.x
Bugfix: icarus: Check for valid fd before all usage
RPC: Always build pga* and proc* methods

Conflicts:
	api.c