Direct + Proxy connection fix

Resolves issue https://github.com/SpigotMC/BungeeCord/issues/967