Fix http.ClientRequest crashes if end() was called twice
Fix http.ClientRequest crashes if end() was called twice

Fixes #1417.
Fixes #1223.

dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node