test: Fix tls tests which fail sporadically

The count of ECONNRESETs is dependent on timing, and thus unreliable,
especially on Linux machines.
test: Fix regression in tls test

Undefined reference, introduced by a77c29a.
tls: Write pending data on socket drain

Fixes #4800
npm: Upgrade to 1.2.12
2013.02.19, Version 0.9.10 (Unstable)

* V8: Upgrade to 3.15.11.15

* npm: Upgrade to 1.2.12

* fs: Change default WriteStream config, increase perf (isaacs)

* process: streamlining tick callback logic (Trevor Norris)

* stream_wrap, udp_wrap: add read-only fd property (Ben Noordhuis)

* buffer: accept negative indices in Buffer#slice() (Ben Noordhuis)

* tls: Cycle data when underlying socket drains (isaacs)

* stream: read(0) should not always trigger _read(n,cb) (isaacs)

* stream: Empty strings/buffers do not signal EOF any longer (isaacs)

* crypto: improve cipher/decipher error messages (Ben Noordhuis)

* net: Respect the 'readable' flag on sockets (isaacs)

* net: don't suppress ECONNRESET (Ben Noordhuis)

* typed arrays: copy Buffer in typed array constructor (Ben Noordhuis)

* typed arrays: make DataView throw on non-ArrayBuffer (Ben Noordhuis)

* windows: MSI installer enhancements (Scott Blomquist, Jim Schubert)
Merge branch 'v0.9.10-release'
Now working on v0.9.11
bench: Add common script
bench: Add ab() method to common for http testing
bench: add runner
bench: A compare script for analyzing benchmarks
bench: Move net-pipe into benchmark/net
bench: net benchmarks using common script
bench: Remove throughput (covered by benchmark/net)
bench: Remove client_latency

No one actually knows what this is supposed to be doing,
anyway.  It's not a good benchmark.
bench: http benchmarks

Also: make http_simple less chatty
bench: misc/url
bench: misc/startup.js
bench: buffer-base64-encode
bench: Buffer creation