PHP CGI support in Scala