Split modules package into modules (for concrete classes) and modapi
(for interfaces required).
Began transition of socket management to ConnectionFactory module type
and its associated Connection.