Add a server.php file

Issue #103.
debug.php: Use server.php API

Issue #103.
debug.php: Fix line length