Move socket implementation out of process.cpp and into the poll based socket implementation file.