simplified eventhandlers. introduced the Event object. should be the event holder in the future
added Event object
renamed and move ResponseObject to Response
adjusted moving the Response
added the xml declaration regex as constant, so it can be used from outside
moved receiving logging back to socket
used easier event handling in roster handler
drastically simplified the event handling