Better error handing in the AJP client
Ignore web socket tests when using AJP