added connection error handling to HTML client, removed all namespace support until it can be done properly