configure: new build option '--with-socketfile'

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>