Refactor: Move connection establishment and auth to separate ConnectionHandler module