Update code structure (line break after class declaration)

Signed-off-by: Stéphane HULARD <s.hulard@chstudio.fr>
Add event handlers to allow a third party to know about each request, response or error encountered
Add new Client tests to validation events handlers