Prototype stream wrapper for php using cmislib