Update SocketServer.java

receive the whole metadata