fix keep alive bug for sock
fix repeat init aico for ssl