fix for NoMethodError: undefined method `remote_ip' for #<Sinatra::Request:0xb5e00f64>