Version1 2

Here's the work in progress for v1.2, including hmac signing (in place of openssl), timestamp verification and a few other portability tweaks.