[undertow-core] Added a support to read the cookie value as JSON object

This will add a support to parse cookie value as JSON string. Cookie header value was not correctly parsed when cookie value is JSON string and if JSON string has '=' sign, then code was throwing IllegalArgumentException.