The HTTP extension is a nonstandard one and isn't bundled with PHP. However, the fopen wrappers for http, are standard and bundled, and probably provider most of the functionality you will want.
However cheerio is right, AJAX is for client-side stuff, server-server HTTP is useful in some circumstances but different ones.
So there is no overlap in functionality.
Mark