Improve & extend cookbook recipe

Use wsgiref server since we use a single file application and not a scaffold that installs paste as a dependency. Explain step-by-step. Switch from print statements to JSON responses to keep the reader more focused to aspects of HTTP from curl and python calls. Slightly improve python program using a context manager and print response headers to have the response just like we have seen from curl.