PHP library to export mklivestatus socket as a JSON object.  This is a public copy of the source for http://nagios.larsmichelsen.com/livestatusslave/ because his git repository is not clonable