Fix some ObjectOuputStream bugs

It can pass object now, but still have bugs.
Fix large data pass problem

Now it's possible for long time and large(50x50x50 dots) data
transmission. Mainly changes is proposed in socket message
communications.