Made private members protected to allow overriding the class

Fix for https://github.com/laurent22/poparser/issues/1