Version 1.2: improved sending of multiple lines