Use new support for stream options on SMTP connect, add tests for it