Fix oops for output corruption, harmonize with other connectors keepalive, fix keepalive after async and fix sendfile.