Added a variant of host resolution via native php func
Updated flushing to work with Litespeed on remote server