Fixed formatName function to work with names with more than one dash ("-").
Fixed formatName function to work with names with more than one dash ("-").

felladrin/php-websocket-server,felladrin/php-websocket-server,felladrin/php-websocket-server