fixes #14: access to server object when using gunicorn