fixed wrong EOL and added tcp buffersizes