implemented full socat and netcat support