irclog: split daemon and server

Because one golang will only generate one executable for one URL

Signed-off-by: Boqun Feng <boqun.feng@gmail.com>