Fixes a bug in PTChannel where upon connection termination the _local_ channel's error state is incorrectly passed as the _peer_ channel's error state. Closes #5