TCP between Erlang and Java updated