Update hiredis to 0.11; add pthread.h to demo.c