Fixed protocol for Handshake and introduced device identification based on navigator.userAgent