Testing logging and calling JNI functions.

Need to make JNI functions static in IpHeader and TcpHeader.