Invece di usare getOutputStream() usa getObjectInputStream() !
Ciao