nc is a great little program called netcat. you give it a
hostname and a port and it will open a bi-directional link to
that. nc localhost 80 allows you to talk directly to the http
server, for example. unless you really want to learn http 1.1
you're better off using the perl modules out there for
accessing internet services.