memc global pointer should be thread local

The global memcached_st structure *memc should be thread local to ensure
thread safety.
Remove debugging message.
Merge pull request #1 from tomtung/master

memc global pointer should be thread local