Updated examples to make use of the AddressFactory changes (except for the http-client example).