rack/rack — pull request #353 by barttenbrinke (2012-03-02 14:24:26+00:00)
Title: Unix sockets are not considered proxies, causing useless logging.

When you use the current preferred passenger setup (Nginx => Sockets => Passenger => Rails), Rack will not correctly identify the remote client's ip_address.
This pull request fixes this.

Before in my rails production.log:
```
Started GET "/users/login" for unix: at Fri Mar 02 15:03:05 +0100 2012
Processing by UsersController#login as HTML
Completed 200 OK in 8ms (Views: 4.7ms | ActiveRecord: 1.6ms)
```

After:
```
Started GET "/users/login" for 123.123.123.123: at Fri Mar 02 15:03:05 +0100 2012
Processing by UsersController#login as HTML
Completed 200 OK in 8ms (Views: 4.7ms | ActiveRecord: 1.6ms)
```