user can now specify client as config
minor fix in specs
minor fix
Config setters call block before setting to ivar
injecting Client into Endpoint