attempt to fix 'half-duplex' TCP close sequence
Merge pull request #16 from mitmproxy/fix_socket_buffer

attempt to fix 'half-duplex' TCP close sequence