add missing includes to common.h
dispatch_request belongs to daemon, move it there
factor out xmlrpc rpc related functions
Output of --help and --version have to go to stdout

To allow 'flowgrind -h | less' --help's and --version's output have to
go to stdout and not to stderr.
Fix waring: using abs() for floating point type

src/flowgrind.c:1336:10: warning: using integer absolute value function 'abs'
when argument is of floating point type [-Wabsolute-value]
        while ((abs(value) / (dez - 1.0)) > 1.0) {
                ^
src/flowgrind.c:1336:10: note: use function 'fabs' instead
        while ((abs(value) / (dez - 1.0)) > 1.0) {
                ^~~
                fabs
Revert "flowgrindd: fix compiler warning"

This reverts commit 6f969b5245c7f93d90a8d0452a2cdd66bd53627c.
Because the change caused the following warning on FreeBSD:

src/daemon.c:1072:30: warning: format specifies type 'size_t' (aka 'unsigned long') but the argument has type 'socklen_t' (aka 'unsigned int') [-Wformat]
                flow->id, cmsg->cmsg_type, cmsg->cmsg_len);
                                           ^~~~~~~~~~~~~~
./src/debug.h:53:46: note: expanded from macro 'DEBUG_MSG'
                        (unsigned int)pthread_self()%USHRT_MAX, ##__VA_ARGS__);\
flowgrindd: properly fix compiler warning

Apparently cmsg_len in defined as size_t in some newer glibc versions,
so cast it to socklen_t in order to fix the compiler warning.
Merge pull request #169 from alexander-zimmermann/clang-warning

Fix warning: using abs() for floating point type
Merge branch 'next' into rpccleanup
include config.h first
Merge branch 'next' of github.com:flowgrind/flowgrind into help-to-stdout
Revert "Fix waring: using abs() for floating point type"

This reverts commit a6a1e538928656f20e946b4f45acd4362bd0f6d0.
Because the change yields a segfault
flowgrind: properly fix compiler warning

Rewritten function to determine length of integer part of a decimal
number
Merge pull request #170 from alexander-zimmermann/next

flowgrind: properly fix compiler warning
Merge pull request #166 from arnd/rpccleanup

Rpccleanup
Merge pull request #168 from alexander-zimmermann/help-to-stdout

Output of --help and --version have to go to stdout
Ordering of includes
Unnecessary includes in fg_rpc_server.h
Update doxygen in fg_rpc_server.h
fg_rpc_server.h: endif should be at end of the file