Our own LZO (1X) implementation, under LGPL and optimized for readability.