Would reinterpretCast work? I guess so.
README
Improved onClose handler, tracks whether the socket was closed before the handler got attached.
Use a proper serial queue for locking, not a concurrent one ...
Great error handling. Well, check return code of getaddrinfo so that we don't crash on a lookup failure ...
Merge branch 'release/0.0.12'