fleshed out the send/receive thread, still no socket read though