Add optional delim argument

This is useful for parsing/stringifying cookie values.
Merge pull request #12 from mjackson/opt-delim

Add optional delim argument