We all fell in the same trap before. We've all gone through it.. nevertheless, it is a friendship that is valid. Sometimes, we only need to know where the line is and the friendship could be nothing but perfect.
Straight and Gay men could become friends. I have a lot of straight friends. They all respect who I am and I respect them. Some have even made me godfather to their children. It's not unusual... if you know where the line is.
Read this: I Love You Man (As a Friend)