Get hostname from Sinatra's request object instead of the standard Rack environment