CA-140037: Fix handling of HTTP with an empty cookie

If the cookie is empty, don't attempt to do anything to it.