A framework for rapidly writing toy http servers