midsockets