Patches for check_tcp fails to detecd some problems [sf#641177] [#42]