I found this link, but I've not tried it. You could also Google to see if there are others. Try the search feature here on MR and see if you can find more, I know it has been talked about a great deal.
Connect your iPhone in DFU mode, press "Restore" while holding alt, then point iOS 3.1.3 and use Umbrella or rslite to kick it out from Recovery mode (you will see error 1011/1013/1015 at the end of the restore process).