Added some debug output to requesthandler.php