Green’s Dictionary of Slang

gloak n.

also gloach, gloke, gloque
[Shelta gloch, ? cognate with Irish loach, hero]

[mid-18C–mid-19C] a man, a fellow.