Changed socket wrapper 

Same thing I did to the client class, changed the dataoutput and buffered reader into ObjectInput/Output streams in order to be able to send files.