get Cookie Value From Header
Parses the given cookie header and returns the value of the cookie with the given name.
Return
The cookie value when found, null otherwise.
Parameters
name
The name of the cookie to get the value for.
cookie Header
The header that is parsed for cookies.