Adapter to use hiredis with async connections inside a nginx module