Next up, socket implementation.