basic code cleaning, made hostname handling a bit better, fixed bug with PLAIN smtp auth.
svn path=/trunk/kdebase/kioslave/smtp/; revision=151041