Reference implementation of an otxt server in PHP