[JBT-119] Enhance Socket interface with type safety
Currently a lot of the Socket usages are left as raw types which increases the likelyness on casting errors. Should rework the classes which are unable to consume the typed variant (if any)
Issue metadata
- Issue type: Improvement
- Priority: Medium