public HTTPSocket(HTTPSocket socket) {
   setSocket(socket.getSocket());
   setInputStream(socket.getInputStream());
   setOutputStream(socket.getOutputStream());
 }
 public HTTPSocket(Socket socket) {
   setSocket(socket);
   open();
 }