Implement/test http.ClientRequest.write