In a freelancing project I was working on last week, I encountered this feature, and it took me quite a while to collect information from different sources to be able to implement it. So I just decided to document the procedures. Hope it enlightens s...