Fixed docBlocks, and made the attempt to open a server connection more verbose in case of an error