Add a missing close() method.
Make read() deal with 0 bytes read.



git-svn-id: https://svn.apache.org/repos/asf/commons/proper/compress/trunk@1546781 13f79535-47bb-0310-9956-ffa450edef68