added sendfile support to nginx class