Basic Rack middleware for checking Rails3 request remote IP