Replaced .equals in ServerConnection with ==