os.http.client -> clean code