Thanks, that's generous - forum advice is normally free :-)
IMO this is the Bitcoin way (you saved me the time and effort and so I am happy to reward that).
This is one of things I really *love* about Bitcoin.
![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
If a command expects a multi-line response, the server sends a line containing just a single period as the last line. The client should check the first character of each received line, if it is a period but there's more stuff in the line it should drop the initial period (the server can use this to escape lines containing a single period). This is basically the reverse of what SMTP does in the DATA command.
Aha - yes I do already have some stuff to do with the period in my POP3 code (will have to take another look and yes I have the RFCs it just takes a bit of time to *focus* which I rarely have unfortunately).
BTW - if you have any interest in other contributions to the CIYAM project then let me know (there are many things that need improvement in any such large project as this).