websocket_demo: Use gethostname(2) instead of /etc/hostname
websocket_demo: Use gethostname(2) instead of /etc/hostname

Signed-off-by: Andrew Clayton <02e0a999c50b1f88df7a8f5a04e1b76b35ea6a88@digital-domain.net>

ac000/websocket_demo,ac000/websocket_demo