Commmand handler to deal with the client input and forwarding of the
said input.