Avoid accessing the input buffer of already closed Libevent2TCPConnections and add some temporary debug output.