TCP Server/Client Communication and RMI Framework