Implement Telik protocol (fix #691)