flush complete HTTP responses on EOF

as per the http spec