in reply to how can i log into perlmonks with a telnet session to port 80

In other words, you're wondering about HTTP GET requests.
GET /?node_id=587485 HTTP/1.0 Host: perlmonks.org Cookie: userpass=you'llhavetofindoutforyourself
Should work if you aready have a session cookie.

See also this old introduction I once wrote and the rfcs (1.0) and 1.1