cross platform protocols, java / go