Fixed default value of the servername

Since the name was used to log things and the default now is "" also added
logging of the address and port too.
Added Debug class for more convenient debugging output

Inspired by the QDebug class and qDebug() function from Qt. Actually it
might be nice if the LOG macro would also use this.