opscode/ohai — pull request #439 by kwilczynski (2014-11-28 18:03:04+00:00)
Title: Fix connection detection logic.

The fact that we have socket back from IO::select, does not necessarily
mean that mean that we can actually ready and/or write to it.

Signed-off-by: Krzysztof Wilczynski