Added untested callback for friend requests.
Added function to get hex string id from binary.