Initial revision. Copied fro the httrack Android port (http://code.google.com/p/httrack/source/browse/android/trunk/jni/)