Added http.get() and http.post() methods.