Update settings.py

added SERVER_PROCESSES and SERVER_XHEADERS

by default, fork number of cpus for PROD,
for dev, this is disabled (single threaded mode)

SERVER_XHEADERS enabled by default