Having relationships with Men outside the marriage is clearly denied in Islam as i know, now if you are working and you confront with Men in the subject of work then that's fine with keeping Al-Hayya and avoiding any kind of pampering, now for your question i noticed that you says : "I have a male friend who is just like a brother", a brother ? all Muslims are brothers !! what do you mean by brother ? what are the subjects that you talk about ? you have a husband to chat with, isn't enough ?, i guess if you respond honestly to these questions you would be more clear about your position, but if you want some advice from me, then quit doing these kinda things because you will feel more comfortable chating with your husband especially in some taboo/pleased like subjects than a stranger man, it is obvious, if you have a communication problem with your husband that lead you to do this, then try to solve the problem with love and respect to your husband.
+1 if it helped, thank you.