to acassen

This request contains 4 changes which would cause merge conflicts being separated by different branches.

I request to pull this all together hoping all the changes are OK to you.

The main purpose of logging, connect_opts and fwmark changes is the possibility to tunnel check packets  to make them indivisible with a production traffic. Please see the usage example here:  https://github.com/andriyanov/check-tun