public ClientConnectionWork(HttpsURLConnection connection){
  this.connection=connection;
  log("Created over connection: " + connection.getClass());
}

public ClientConnectionWork ( HttpsURLConnection connection ) { this . connection = connection ; log ( "Created over connection: " + connection . getClass ( ) ) ; }
creates the thread acting as a client side .
