It seems to support nested classes/types. https://developer.apple.com/library/prerelease/ios/documentation/swift/conceptual/swift_programming_language/NestedTypes.html
Abuse trailing closures for onRead/onClose to make them look nicer.
Do not issue a read() if the socket has been closed.
Use unowned self instead of weak. Should be better? ;-)
Improved close behaviour, shutdown receiving end even if there are async writes pending.
Merge branch 'release/0.0.4'