main/fcgiwrap: moved from testing