added sync.go example, will use it for async protocol IDs