Added support for X-Sendfile and X-Accel-Redirect headers for file downloads via PHP.