+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.
Proposal:
Make the two ServerBindings on the TCP as well as on the HTTP level a
`sealed abstract case class` to get around the ugly `var` here.