Fixes problem of consumer with unsecure https connections