-Change: Both sending and receiving should now be more thread-safe.

Mind, this isn't field-tested, so errors might occur.