public HTTPRequest(HTTPSocket httpSock) {
   this(httpSock.getInputStream());
   setSocket(httpSock);
 }
 public void set(HTTPRequest httpReq) {
   set((HTTPPacket) httpReq);
   setSocket(httpReq.getSocket());
 }