PHP implementation of cookie path matching specified in RFC6265