fixed check_http check to take a uri