You're Free To Leave: Parshat Mishpatim

A Jewish slave goes free after 6 years, unless he unwisely chooses to stay. If he does, his master bores a hole in his ear. Why, and what lesson can we learn?