added notFull methods to PortalItemFunctions, so an app can check before calling request.
changed return type from proxy request functions to 'int', so that an app can check for request send failure (ret != 0)