Hellow! is real time chat application using standard XMPP protocols. it also comes with friend system. yes you can send request , reject, block at the same time.
Demo https://codecanyon.net/item/real-time-chat-social-system-web-interface-/10716754
Downloadhttps://www.filecad.com/dZu4/Real-Time-Chat-+-Social-System-+-Web-Interface.rar