add first net sample

1. gethostbyname
2. create socket
3. connect server