tutorials/httpserver: update to match code changes
Merge pull request #327 from chalin/patch-0410-httpserver

tutorials/httpserver: update to match code changes and other minor edits