A simple ruby webserver, which allows a code block as handler