Modified the socket protocol: PIN entry, concurrency, callback identifier