Add support for stream options on SMTP connect, use stream_socket_client instead of fsockopen, thanks to @stanislavdavid