check for socket support