Extension for Client class.
Not finished.
Source:
http://javatalks.ru/topics/4516