Adds server configuration for x-forwarded-* headers. Server port can now be set to 0 (or any other falsey value).