renamed bind_address to bindaddress in the middleware