Initial update with improvements from nginx repository.