Update Cookie.java

Replaced StringBuffer with StringBuilder, removing unnecessary synchronization