Added possibility to allow realm connections both from "world" and local networks.

https://github.com/TrinityCore/TrinityCore/commit/6e80357f8e8b4e820bab8bd05fb8457c3cb46d11
Thanks @Shauren