cannot send object on socket. socket connected is success