A Geometric Model for On-line Social Networks