Added posibility to set hook in case of exception thrown during sending a packet
Merge branch 'develop' into exception-hook
Made the "ExceptionHook" constructor parameter and field into an "ErrorOnCapture" property.
R# cleanup