Be extra defensive in the ProtocolStack and catch all Errors.
An Error whilst handling a read could leave the channel in a dangling state. Whilst this has never been seen, the code has been updated to close the connection if this occurs so that it can be immediately re-established.
AgentProtocolAdapter was disabled then it would return an invalid HTTP header that would break reverse proxies.
Internal code cleanup