rafthttp: set the API boundary of the package

open for architecture and API ideas now.
I am gonna think about it in the following PR. This one sets the API boundary of transport pkg.

I think combining them is reasonable because it is meaning less to add a level of indirection. I needs to try the best way to make it.