Fix bug w/ Connected flag and non-SSL connection