Patches for Can't send newline with check_tcp [sf#1292404] [#633]