http-client: basic implementaton of simple http client