Add throwOnError setting

Added new setting throwOnError which will have the client rethrow any
exception it encountered when calling Send(). This can be used for
debugging or if you wish to run the client in a fail fast manner.