Added support for limiting connections to local domain