HTTP helper updated with more readable API