Heheh.. I wonder if I still have a copy of the command line POP client I wrote so long ago when I was learning. Ahh memories. Anyway...
Are you sure that you have a POP3 server running on localhost? If nothing else, and to make completely sure, telnet to 'localhost 110' and make sure you get a response.