Updated the PHP library to work with the UDP admin interface.

Should have done this ages ago