Only pull in the http package when it is needed