Connection phase refactoring, log in request/reply messages