Update Flask and Django examples to use http

The Flask and Django examples don't work because the --socket option is used instead of the --http option.