s3-prefork: implement prefork framework