Accept connector in middleware