io-library from ea extracted from the webkit source release, HEAVILY MODIFIED!