Moved http methods to new package