Komunikasi ‘Low-Level’ dengan Server HTTP

Server Eksternal (www.google.co.id)

Hasil telnet port 80:

<html><head><meta http-equiv="content-type" content="text/html; charset=ISO-8859
-1"><title>Google</title><style>body,td,a,p,.h{font-family:arial,sans-serif}.h{f
ont-size:20px}.h{color:#3366cc}.q{color:#00c}.ts td{padding:0}.ts{border-collaps
e:collapse}.lnc:link,.lnc:visited{color:#00c}.pgtab,.pgtab:hover,.pgtabselected,
.pgtabside{text-align:center;text-decoration:none;color:#00c;display:block;heigh
t:27px;float:left;overflow:hidden;background:url(/intl/ja/images/productlinktabs
.png) no-repeat;padding-top:8px}.pgtab{width:130px;background-position:-274px 0}
.pgtab:hover{width:130px;background-position:-144px 0}.pgtabselected{width:144px
}.pgtabside{width:3px;background-position:-404px 0}.iconl{overflow:hidden;height
:px;width:px;position:relative}#gbar{float:left;height:22px;padding-left:2px}.gb
h,.gb2 div{border-top:1px solid #c9d7f1;font-size:0;height:0}.gbh{position:absol
ute;top:24px;width:100%}.gb2 div{margin:5px}#gbi{background:#fff;border:1px soli
d;border-color:#c9d7f1 #36c #36c #a2bae7;font-size:13px;top:24px;z-index:1000}#g
user{padding-bottom:7px !important}#gbar,#guser{font-size:13px;padding-top:1px !
important}@media all{.gb1,.gb3{height:22px;margin-right:.73em;vertical-align:top
}.gb2 a,.gb2 b{display:block;padding:.2em .5em}}#gbi,.gb2{display:none;position:
absolute;width:8em}.gb2{z-index:1001}#gbar a{color:#00c}.gb2 a,.gb3 a{text-decor
ation:none}#gbar .gb2 a:hover{background:#36c;color:#fff;display:block}</style><
script>window.google={kEI:"-wctSILTF6OwwQGx3I2aDg",kEXPI:"17259,17735",kHL:"en"}
;
 function sf(){document.f.q.focus()}
                                    window.gbar={};(function(){var c=window.gbar
,e,g,h;c.qs=function(a){var d=window.encodeURIComponent&&(document.forms[0].q||"
").value;if(d)a.href=a.href.replace(/([?&])q=[^&]*|$/,function(f,b){return(b||"&
")+"q="+encodeURIComponent(d)})};function l(a,d,f){a.display=h?"none":"block";a.
left=d+"px";a.top=f+"px"}c.tg=function(a){var d=0,f=0,b,m=0,n,j=window.navExtra,
k,i=document;g=g||i.getElementById("gbar").getElementsByTagName("span");(a||wind
ow.event).cancelBubble=!m;if(!e){e=i.createElement(Array.every||window.createPop
up?"iframe":"DIV");e.frameBorder="0";e.scrolling="no";e.src="#";g[7].parentNode.
appendChild(e).id="gbi";if(j&&g[7])for(n in j){k=i.createElement("span");k.appen
dChild(j[n]);g[7].parentNode.insertBefore(k,g[7]).className="gb2"}i.onclick=c.cl
ose}while(b=g[++m]){if(f){l(b.style,f+1,d+25);d+=b.firstChild.tagName=="DIV"?9:2
0}if(b.className=="gb3"){do f+=b.offsetLeft;while(b=b.offsetParent)}}e.style.hei
ght=d+"px";l(e.style,f,24);h=!h};c.close=function(a){h&&c.tg(a)}})();</script></
head><body bgcolor=#ffffff text=#000000 link=#0000cc vlink=#551a8b alink=#ff0000
 onload="sf();if(document.images){new Image().src='/images/nav_logo3.png'}" topm
argin=3 marginheight=3><div id=gbar><nobr><span class=gb1><b>Web</b></span> <spa
n class=gb1><a href="http://images.google.com/imghp?hl=en&tab=wi" onclick=gbar.q
s(this)>Images</a></span> <span class=gb1><a href="http://maps.google.com/maps?h
l=en&tab=wl" onclick=gbar.qs(this)>Maps</a></span> <span class=gb1><a href="http
://news.google.com/nwshp?hl=en&tab=wn" onclick=gbar.qs(this)>News</a></span> <sp
an class=gb1><a href="http://www.google.com/prdhp?hl=en&tab=wf" onclick=gbar.qs(
this)>Shopping</a></span> <span class=gb1><a href="http://mail.google.com/mail/?
hl=en&tab=wm">Gmail</a></span> <span class=gb3><a href="http://www.google.com/in
tl/en/options/" onclick="this.blur();gbar.tg(event);return !1"><u>more</u> <smal
l>▼</small></a></span> <span class=gb2><a href="http://video.google.com/?h
l=en&tab=wv" onclick=gbar.qs(this)>Video</a></span> <span class=gb2><a href="htt
p://groups.google.com/grphp?hl=en&tab=wg" onclick=gbar.qs(this)>Groups</a></span
> <span class=gb2><a href="http://books.google.com/bkshp?hl=en&tab=wp" onclick=g
bar.qs(this)>Books</a></span> <span class=gb2><a href="http://scholar.google.com
/schhp?hl=en&tab=ws" onclick=gbar.qs(this)>Scholar</a></span> <span class=gb2><a
 href="http://finance.google.com/finance?hl=en&tab=we" onclick=gbar.qs(this)>Fin
ance</a></span> <span class=gb2><a href="http://blogsearch.google.com/?hl=en&tab
=wb" onclick=gbar.qs(this)>Blogs</a></span> <span class=gb2><div></div></a></spa
n> <span class=gb2><a href="http://www.youtube.com/?hl=en&tab=w1" onclick=gbar.q
s(this)>YouTube</a></span> ....deleted

Hasil lewat Firefox:

<html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><
title>Google</title><style>body,td,a,p,.h{font-family:arial,sans-serif}.h{font-s
ize:20px}.h{color:#3366cc}.q{color:#00c}.ts td{padding:0}.ts{border-collapse:col
lapse}.lnc:link,.lnc:visited{color:#00c}.pgtab,.pgtab:hover,.pgtabselected,.pgta
bside{text-align:center;text-decoration:none;color:#00c;display:block;height:27p
x;float:left;overflow:hidden;background:url(/intl/ja/images/productlinktabs.png)
 no-repeat;padding-top:8px}.pgtab{width:130px;background-position:-274px 0}.pgta
b:hover{width:130px;background-position:-144px 0}.pgtabselected{width:144px}.pgt
abside{width:3px;background-position:-404px 0}.iconl{overflow:hidden;height:px;w
idth:px;position:relative}#gbar{float:left;height:22px;padding-left:2px}.gbh,.gb
2 div{border-top:1px solid #c9d7f1;font-size:0;height:0}.gbh{position:absolute;t
op:24px;width:100%}.gb2 div{margin:5px}#gbi{background:#fff;border:1px solid;bor
der-color:#c9d7f1 #36c #36c #a2bae7;font-size:13px;top:24px;z-index:1000}#guser{
padding-bottom:7px !important}#gbar,#guser{font-size:13px;padding-top:1px !impor
tant}@media all{.gb1,.gb3{height:22px;margin-right:.73em;vertical-align:top}.gb2
 a,.gb2 b{display:block;padding:.2em .5em}}#gbi,.gb2{display:none;position:absol
ute;width:8em}.gb2{z-index:1001}#gbar a{color:#00c}.gb2 a,.gb3 a{text-decoration
:none}#gbar .gb2 a:hover{background:#36c;color:#fff;display:block}</style><scrip
t>window.google={kEI:"aQstSISuK4PO1QbRptDpBQ",kEXPI:"0",kHL:"en"};
function sf(){document.f.q.focus()}
window.clk=function(b,c,d,e,f,g){if(document.images){var a=encodeURIComponent||e
scape;(new Image).src="/url?sa=T"+(c?"&oi="+a(c):"")+(d?"&cad="+a(d):"")+"&ct="+
a(e)+"&cd="+a(f)+(b?"&url="+a(b.replace(/#.*/,"")).replace(/\+/g,"%2B"):"")+"&ei
=aQstSISuK4PO1QbRptDpBQ"+g}return true};
window.gbar={};(function(){var c=window.gbar,e,g,h;c.qs=function(a){var d=window
.encodeURIComponent&&(document.forms[0].q||"").value;if(d)a.href=a.href.replace(
/([?&])q=[^&]*|$/,function(f,b){return(b||"&")+"q="+encodeURIComponent(d)})};fun
ction l(a,d,f){a.display=h?"none":"block";a.left=d+"px";a.top=f+"px"}c.tg=functi
on(a){var d=0,f=0,b,m=0,n,j=window.navExtra,k,i=document;g=g||i.getElementById("
gbar").getElementsByTagName("span");(a||window.event).cancelBubble=!m;if(!e){e=i
.createElement(Array.every||window.createPopup?"iframe":"DIV");e.frameBorder="0"
;e.scrolling="no";e.src="#";g[7].parentNode.appendChild(e).id="gbi";if(j&&g[7])f
or(n in j){k=i.createElement("span");k.appendChild(j[n]);g[7].parentNode.insertB
efore(k,g[7]).className="gb2"}i.onclick=c.close}while(b=g[++m]){if(f){l(b.style,
f+1,d+25);d+=b.firstChild.tagName=="DIV"?9:20}if(b.className=="gb3"){do f+=b.off
setLeft;while(b=b.offsetParent)}}e.style.height=d+"px";l(e.style,f,24);h=!h};c.c
lose=function(a){h&&c.tg(a)}})();</script></head><body bgcolor=#ffffff text=#000
000 link=#0000cc vlink=#551a8b alink=#ff0000 onload="sf();if(document.images){ne
w Image().src='/images/nav_logo3.png'}" topmargin=3 marginheight=3><div id=gbar>
<nobr><span class=gb1><b>Web</b></span> <span class=gb1><a href="http://images.g
oogle.com/imghp?hl=en&tab=wi" onclick=gbar.qs(this)>Images</a></span> <span clas
s=gb1><a href="http://maps.google.com/maps?hl=en&tab=wl" onclick=gbar.qs(this)>M
aps</a></span> <span class=gb1><a href="http://news.google.com/nwshp?hl=en&tab=w
n" onclick=gbar.qs(this)>News</a></span> <span class=gb1><a href="http://www.goo
gle.com/prdhp?hl=en&tab=wf" onclick=gbar.qs(this)>Shopping</a></span> <span clas
s=gb1><a href="http://mail.google.com/mail/?hl=en&tab=wm">Gmail</a></span> <span
 class=gb3><a href="http://www.google.com/intl/en/options/" onclick="this.blur()
;gbar.tg(event);return !1"><u>more</u> <small>&#9660;</small></a></span> <span c
lass=gb2><a href="http://video.google.com/?hl=en&tab=wv" onclick=gbar.qs(this)>V
ideo</a></span> <span class=gb2><a href="http://groups.google.com/grphp?hl=en&ta
b=wg" onclick=gbar.qs(this)>Groups</a></span> <span class=gb2><a href="http://bo
oks.google.com/bkshp?hl=en&tab=wp" onclick=gbar.qs(this)>Books</a></span> <span
class=gb2><a href="http://scholar.google.com/schhp?hl=en&tab=ws" onclick=gbar.qs
(this)>Scholar</a></span> <span class=gb2><a href="http://finance.google.com/fin
ance?hl=en&tab=we" onclick=gbar.qs(this)>Finance</a></span> <span class=gb2><a h
ref="http://blogsearch.google.com/?hl=en&tab=wb" onclick=gbar.qs(this)>Blogs</a>
</span> <span class=gb2><div></div></a></span> <span class=gb2><a href="http://w
ww.youtube.com/?hl=en&tab=w1" onclick=gbar.qs(this)>YouTube</a></span>