Remove a layer of indirection in handleProtocol.

This is already done for us. While here, remove debugging code.