Fixed SMTP PIPELINING support and added unit test