Fixed metadata serialization
added trusted hosts check
updated CHANGELOG for 2.0.24
updated VERSION for 2.0.24