UDP from java to erlang and back again using Jinterface and binary_to_term