Update Server.as

fixed lag issue: receiving all data in the socket