code: public static Message deserializeObject( byte[] bytes )
  	throws IOException, ClassNotFoundException {
  
  		ByteArrayInputStream is = new ByteArrayInputStream( bytes );
  		ObjectInputStream deserializer = new ObjectInputStream( is );
  		return (Message) deserializer.readObject();
  	}
docs: Deserializes a message.
  @param bytes a non-null array of bytes
  @return the deserialized message, or null if it failed
  @throws ClassNotFoundException
  @throws IOException