Fix issue with conditional puts.

Logic in 'put' wound up sending 'put if absent' when last arg not provided because !undefined resolves to true.  Also, the If-* headers needed to be quoted.