PHP port of Smaz - a short string compression library