server: Fix -U option so it copies trailing ASCII NUL character.

The existing code calculated the length of the string to copy
incorrectly, resulting in it creating a garbage socket name.