Check return value for pthread_mutex_init()
Properly send out early HTTP errors via the appropriate SPDY stream