Fix issue #226 - Socket and Context now implement Closeable