Added a better hook for transports to provide their custom config