Merge remote-tracking branch 'conman/master' into bflsc
Merge remote-tracking branch 'conman/queued_work' into test
BFL stop 1st init command if no device
Merge pull request #388 from kanoi/bflsc

BFL stop 1st init command if no device
Update diff stale: total and pools when stratum throws away shares
API always report failed send() replies
Merge pull request #389 from kanoi/bflsc

BFL stop 1st init command if no device + Update diff stale: total and pools when stratum throws away shares