Welcome Tom to SR!
I am a recovering opiate user. I have 8 months clean as of this past Tuesday, 18 Oct. I know nothing about H addiction. But I highly suggest you find a good doctor to speak with about helping you with withdrawls and detoxing. H isn't something you need to CT off of.
I'm sure there is somebody in NA meetings that could offer you help in finding a good doctor to go to. Or call an 800 number HOTLINE for addiction. Just look in your phone book for a number.
You've said you have legal problems already. I've read many stories around the boards here about how horrible it is to detox in jail. That's not a place you want to land in. Reach out to all sources available to get the help you are needing right now.
TOD