Adding some events on http classes, and 2 functions

Hello,

That's just a pull request to add some events on ServerResponse & ClientRequest, and I add 2 more functions that can be useful.

Regards,
Peekmo