Added DataInput/DataOutput streams in server side