Use react/dns for server IP lookups

Instead of using PHP's internal DNS loopup that blocks. This PR brings non-blocking DNS lookups using `react/dns` to Phergie.