Java port of the PHP library Snaphax.