Fix integer conversion warning in lwan_thread_init()
Add FIXME for potential use of strlcpy()

Perform some checks before. (These must be reviewed properly, though.)