Add newline to repl prompt string.

This makes it possible for clients to know when the prompt ends.
Set the socket option to reuse addresses when possible.