handled keep alive request based on http protocol