Fixes bug: WampHandler failure on invalid JSON.
Merge pull request #8 from Sharom/bug-invalid-json

Fixes bug: WampHandler failure on invalid JSON.