Cleanups, make I2PSocket a Closeable
Log close() loops
fix compilation