write Successful Response
Writes a successful login response to the client.
Return
a session object if the login was successful, otherwise a null.
Parameters
response
the login response to write
login Block
the login request that the client initially made
fun writeSuccessfulResponse(response: LoginResponse.ReconnectOk, loginBlock: LoginBlock<*>): Session<R>?