separated GetBytes and GetAllBytes into distinct functions, added missing delete[] operator on JNI temporary heap buffers, added log messages to trace HTTP byte requests