Update cookie library, fixes malformed cookies