Socket - networking constants and support functions
