Adding the local thread that checks for keyboard input; will add another that checks connection input on client side