Seems as if you approached your friend with expectations, the assumption that he would be ok with your dressing - and your expectations - and that your friendship would grow in a manner that suited your hopes. He may still be a kind person but being kind doesn't necessarily equate to being unmoved by such a disclosure. Most of us don't have poker faces and counsellor's minds when unexpectedly given such information about somebody we thought we knew. Crossdressing may be a bit more accepted today than in the past but it's still unusual, it still carries a stigma for a lot of people as they don't know much about it or those who live this way.
Unfortunate that your friend's reaction was what it was but maybe he needs time (days, weeks, months?) to digest this new part of your personality. Old cliché about hindsight being 20/20 but should you feel the need in future to make such a full disclosure maybe just sharing that you enjoy wearing female attire is plenty enough information the first time around rather than adding in the expectations of increased friendship bliss. Even that could be too much too soon but it would be a statement rather than a request, sharing a personal preference rather than a requisition.
I hope you can find some peace about this moment.