lib/server.js: Added server-side handling of user-agent data transmission from client.
lib/client.js: Updated client to send userAgent data on request.
app.js: Added reference to lib/server.js with setup call to initiate socket communication.