SMTP: Fix finding the local address.
Don't use IPv4 addresses when the user has enabled IPv6 address in the settings.

Conflicts:
	src/qtlibtorrent/qbtsession.cpp
	src/smtp.cpp