simple_server with socket