First draft: socket accept loop function. (No sendfile() yet)