PEP8 corrections, better identification of keep-alive requests