Input handler added to ClientThread