Pass own transport protocol optionally.