Send disconnect on handling errors, slightly improved protocol documentation.