CLI: TCP&TCPF: Make receiving data frame working

Now server can receive the DATA frame and extract data from it.
There is also other refactoring and reorganization work to migrate
to the new transfer model (with breaking stream into frames).
TCP uses its own transfer_data_between_handles() function since
it is not possible now to use the function for TCPF.
CLI: TCPF: Change DATA frame handling logic

The DATA frame must be acknowledged by the empty DATA frame, not OK
response.
CLI: TCPF: Cleanup

Remove obsoleted code