Fix connection reset bug - adds Connection: close header

We close the connection after every request (Will consider adding pipelining later).

But as we close every connection and are using HTTP/1.1, we have to send the "Connection: close" header or else clients will try to use the already dead connection and get connection reset.