Implement cookie path matching algo described in RFC6265 s5.1.4