Added tryRead/tryWrite to channel (fixes #5)