nginx module to auto disable keepalive in some situations