Null-terminate string in CivetServer::getParam