tcp_echo_server: fixed typos not correctly using callback prototypes