Couldn't you use httpc or ibrowse here?