PortalKit: update long polling mechanism for server side push
PortalKit: add testcase for tomcat related stuff