Added getdata and inv message serialization/deserialization