Fixed x-forwarded-for implementation in server.js

ActionHero initialization failed when having to fall back to 'x-forwarded-for' header