Fixed issues with keepalive (AJP Mode)