Kfsio lib: fix ssl handshake handling in ssl filter read by returning -EGAIN in the case if read ahead set to 0, correctly handle negative read ahead value that denotes unlimited read ahead. Do not call error handling method in write if the supplied buffer was empty, i.e. there was nothing to write.