rafthttp: cleanup transport

follow up for #1802