Ensuring that the client's cookies instance is not nil before attempting to join cookies
Explicitly calling join method on the result of  for clarity