TLS network pipe module
Catch also IOExceptions