Added more debug, fixed send_similarity_request