Managing errors when the client is not friend of the server yet