Expose isClosed to clients.
Adding tests
Adding tests
Merge pull request #13 from apcera/expose-isclosed

Expose isClosed to clients.