Feature/tls wrap

WIP, doesn't work with concurrent connections (for some yet unknown reason).

Usage example: https://gist.github.com/indutny/f60d9724b0513de242ec

/cc @bnoordhuis @isaacs