Buffer overflow fix; from John Cartwright <johnc@grok.org.uk>. http://www.grok.org.uk/advisories/popclient.html