Only set maxAge on the cookie if it is not negative.

java.net.HttpCookie.getMaxAge() returns -1 if the maxAge has not been set. If we pass this on to org.jboss.netty.handler.codec.http.Cookie it will output the -1 value in the response. This is not allowed and lead to problems.