Cut input_no_pcb into chunks

Now, each TCP message kind has its own `process` function.