My guess is that the remote port detects that you are not using SSL and closes the connection.
You could use openssl to test the connection... but I think that the problem is not the connection.
In the SMTP hostname try ssl:\smtp.dreamhost.com and see if that helps.