Reverted X-Forwarded-* headers overwrite
Implemented config-conditional 500 error code check
Bumped dependencies version