Exploring a simple HTTP server in Ruby