Creating secure, low-level bootstraps in D7