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

Cookie header value was correctly parsed when cookie value was not getting parsed and if JSON string
has '=' sign, then code was throwing IllegalArgumentException.