Compatibility with sdk 1.4

Works fine in Linux (al unit tests pass), but async read/write/call seems broken in Windows (these unit tests fail). To be investigated further ...