Change checks order in response.write_eof() for making twice call a bit faster
Add test for response.keep_alive and response.force_close()