refactor: extract helper methods

(will be used by new NativeErrbitReporter)
change endpoint to URL
add NativeErrbitReporter