add web socket examples
fix same warning
fix warning
remove mac include