test: fix tls-honorcipherorder slowness

End accepted stream to prevent client fd from hanging in FIN_WAIT_1
state. The 30 second delay was caused by default non-zero SO_LINGER.
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
zlib: introduce pending close state

zlib should not crash in `close()` if the write is still in progress.

fix #7101
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
npm: upgrade to 1.4.3
build: don't enable gc-sections

In some scenarios this will strip the DOF sections for DTrace, and in a
future world where we re-export all static libraries it would defeat
that purpose.
debugger: Fix breakpoint not showing after restart

The reason this wasn't working was because after restart, when restoring
breakpoints the scripts wasn't loaded, so the breakpoint.script was
undefined. As a fix I added another check to use breakpoint.scriptReq
instead of breakpoint.script, which is the same except when the
breakpoint is a function.

fixes #7027
Merge remote-tracking branch 'upstream/v0.10'

Conflicts:
	src/node_zlib.cc
crypto: allow custom generator for DiffieHellman
net: add localPort to connect options

Expose localPort for binding to a specific port for outbound
connections.

If localAddress is not specified '0.0.0.0' is used for ip4 and '::'
for ip6 connections.

Fixes #7092
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
os: networkInterfaces include scopeid for ipv6
doc: mention objectMode for Writable streams
uv: Upgrade to v0.10.25