fix the vend api to accept a request as a dependency
update the vend request to accept parameters for handling SSL connections
update the example