moved retrieve_http() to bootstrap