Add the session method with remote host parameters