Update class.smtp.php

stream_socket_client is more flexible and nothing else needs to be changed.
for example
 $socket_options = array('socket' => array('bindto' => $this->INTERFACE));
will bind phpmailer to different than default ip address on server with multiple IP