It's best to stay away from him completely, get rid of his number and don't keep checking his profile on social networking sites. He might be ready to be friends and act like everything is alright, but that doesn't mean you have to be ready. Pushing it too quickly will just confuse you, being around someone you can't have is torturing yourself. Take the time and space you need to heal, then when you're not going to be thinking every text message might have a hidden deeper meaning, or wanting him to get back with you still, you can start to pursue and friendship with him again.