Fixes #14 - signatures now properly encoded before appending. Fixes #15 - HTTP errors now rescued.