Qfs tool: fix checksum / sha1sum / openssl sha1 switching logic.
Kfs io lib: add debug print of the socket event wait flags to facilitate debugging.
Meta server: fix chunk server connection flush by moving ti to be the last op in the event handler, to ensure that chunk server heartbeat request gets sent.