Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=57054
Correctly handle the case in the WebSocket client when the HTTP response to the upgrade request can not be read in a single pass; either because the buffer is too small or the server sent the response in multiple packets.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1629293 13f79535-47bb-0310-9956-ffa450edef68