Homeless man faces cocaine charge