Added forPublish flag to openActiveSession

Allows caller to pass publish permissions to openActiveSession.