minimum change to fix #422 memory leak. new issue #426 for the rest
Merge pull request #428 from mozilla/dc/nonce

Fixed nonceCheck type conversion bug