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

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

Signed-off-by: John Else <john.else@citrix.com>
CA-140037: Add some tests for fix_cookie

Signed-off-by: John Else <john.else@citrix.com>