HTTP, TCP, UDP and connectionless
Solution 1:
HTTP (1.0 without connection keep alive) is connectionless because once a single HTTP request is serviced, the connection is closed and not reused. HTTP requests are not TCP protocol data units, so that TCP is connection-oriented with respect to TCP protocol data units doesn't stop HTTP from being connectionless with respect to HTTP protocol data units.
When we look at the HTTP protocol itself, we don't care what protocol it's layered on top of. It could be TCP, but theoretically, it could be something else. So the properties of TCP are completely irrelevant.