Started breaking out the basic HTTP functions.