toy browser engine, following Matt Brubeck's toy Rust engine posts