Add socket client and server and test data

Hello JMA, please review my change. Thank you!