deal with malformed set-cookie header