selendroid/selendroid — pull request #616 by ainsej (2014-09-30 10:54:03+00:00)
Title: 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.