v8: unbreak freebsd build

reland de8c0a5

Fixes #7020 and #7021
dgram: pass the bytes sent to the send callback

Fixes #6953
tls: introduce asynchronous `newSession`

fix #7105
crypto: make NewSessionDoneCb public

Generic friend classes do not work well with old compiler versions (and
MSVC).
repl: REPLServer inherits from readline.Interface

This exposes a setPrompt for and other readline features
repl: remove a unnecessary concatenation
readline: fix `line` event, if input emit 'end'

If an input stream would emit `end` event, like
`fs.createReadStream`, then readline need to get the last line
correctly even though that line isnt ended with `\n`.
lint: fix missing semi colon in repl
child_process: execFileSync stderr should inherit

If you don't set your options.stdio for execSync and execFileSync
capture and write to stderr of the parent process by default.

Fixes #7110