Add extra checking for listen-http option