If you're allergic to telnet...

<?php

$http_response 
'';

$fp fsockopen('www.php.net'80);
fputs($fp"GET / HTTP/1.1\r\n");
fputs($fp"Host: www.php.net\r\n\r\n");

while (!
feof($fp))
{
    
$http_response .= fgets($fp128);
}

fclose($fp);

echo 
nl2br(htmlentities($http_response));

?>