Improved clients connecting ability

added error handling to it
Decommented out the registration of nickname in Client

as this had caused some tests to fail which passed before that.