+hco #15945 Make Tcp and Http server binding closeable

No samples or documentation yet, since the API will change when we move to the new DSL.
Ticket #15945 should be left open.
Ah, to hide the underlying value from the API? How about a `close: () => Unit` parameter?