Fixes upgrade to Network.Wai 2.0