Add (static utility) function for building a path from a name
Change ws_socket_deinit() to use build_path()
Change ws_socket_create() to use build_path()
Merge pull request #654 from matthiasbeyer/fix-socket_deinit

Fix ws_socket to be able to connect to it