Added POSIX socket functions and constants