Added version to user agent header
Modified sample to pass correct options and do an IsSelf test query