put previously global error handling and key hashes into ptx (pcp context) to make libpcp threadsafe.
Merge branch 'master' of github.com:TLINDEN/pcp

Conflicts:
	libpcp/crypto.c