test: fix test-child-process-double-pipe

On Windows, grep and sed were stripping the CR character out of CRLF.
Passing --binary will force them to preserve the CR.
cluster: handle bind errors on Windows

Before sending a socket from a cluster master to a worker,
we would call listen in UV but not handle the error.

I made createServerHandle call listen on Windows so we get a chance
the handle any bind/listen errors early.

This fix is 100% windows specific.
It fixes test-cluster-bind-twice and
test-cluster-shared-handle-bind-error on Windows.
test: fix connection reset in http test

In this test, an HTTP server was ending the response before
consuming all the data sent in the PUT request.

Ending the response would cause the socket to be destroyed,
and since there is some data still to be read, an ECONNRESET is
surfaced on the client side, event though the client has already
ended its side and even seen a 'finish' event.

See:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html#sec8.2.2

While it is certainly admissible for the server to send a response
before consuming the entire request, it seems reasonable to
expect that the server would close the connection afterwards
and that the ECONNRESET would be raised on the client.

So I have changed the test to wait until the entire request has been
consumed before sending the response.
test: fix assert in test-http-outgoing-finish

Given the assert message, and the fact that endCb is always true
in the assert, I am pretty sure the test author was intending
to test for finishEvent, not endCb.
test: increase timeout in readable stream test

A slightly higher timeout is needed for the test to pass on
Windows debug builds.
test: give repl-timeout-throw more time to run

Short timeout was causing the test to fail on Windows debug builds.
doc: re-add node.1 man page

The man page was accidentally removed in 37376de for the website
refactor, bring it back.

Fixes #7117
Merge remote-tracking branch 'upstream/v0.10'
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.