Support multi-line SMTP responses.

This sets us up for responding correctly to EHLO, for supporting AUTH
and STARTTLS and other extensions.
Add a test for multi-line response.