I'm not going to bother making "ERR" a constant.  Its used twice, once here to tell the client we're broken, and once in the client to detect the server is broken and abort.  Its just not worth complicating the code with an additional constant.