http/https: only warn on prematurely closed sockets if transaction is active
http/https: only warn on prematurely closed sockets if transaction is active

In the case of SSE requests, the transaction will already be ended at
this point and we don't want to raise a warning.

opbeat/opbeat-node,opbeat/opbeat-node