#28 server side sockets and rest api