build: only whole archive on static v8 builds

Closes #6629
tls: emit 'end' on .receivedShutdown

NOTE: Also removed `.receivedShutdown` method of `Connection` it wasn't
documented anywhere, and was rewritten with `true` after receiving
`close_notify`.

fix #6638
Merge branch 'v0.10'

Conflicts:
	lib/tls.js
	src/node_crypto.cc
	src/node_crypto.h