Added support to configure SDK in Rack middle-ware.