I agree with olivia. I try to see friends when I can, but none of them are doing a PhD, which can leave one feeling out on a limb.
As to sleep, there are lots of great suggestions here in this thread - if I was having trouble sleeping I think I'd work through the lot bit by bit and see which helped me the most. Good luck.