Fix broken tests
Safely close incoming and outgoing connections
Add NoamLogging.warn to connection closing error
Merge pull request #9 from noam-io/test-fixes

Fix issues with tests, connection closing, and misplaced copyright