restructured socket support by moving functions up
restructured socket support by moving functions up

distributedlife/challenge-response,distributedlife/challenge-response,distributedlife/challenge-response