Bundle listen on port/socket logic