change tcp input/output codec to 'line'

change tcp input/output codec to 'line', because tcp input sometimes does not split newlines, but join them into one line. 
see https://logstash.jira.com/browse/LOGSTASH-1370 for details.