Fixed corrupted message when libtocc throw an exception.

Issue #4
There was a bug in allocating memory.

Issue #4
Copying received tags buffer, to avoid string corruption.

Issue #1