TCP-Server: added split-function