Got rid of HAVE_CPP11 conditional compiles
Now understands the hostname (used when connecting)