First attempt at an bulk async I/O API
Avoid Windows compiler warnings
Declare callback as WINAPI calling convention (does nothing on other platforms)
Made size and count parameters configurable
Fixing error reporting & added long timeout to async API