createWebappSocket :: WebappConfiguration -> IO Socket
createWebappSocket conf | bindFamily conf == WAFamilyUnix = createUnixSocket conf
                        | bindFamily conf == WAFamilyInet = createInetSocket conf
createWebappSocket :: WebappConfiguration -> IO Socket
createWebappSocket conf | bindFamily conf == WAFamilyUnix = createUnixSocket conf
                        | bindFamily conf == WAFamilyInet = createInetSocket conf
createWebappSocket conf | bindFamily conf == WAFamilyUnix = createUnixSocket conf
                        | bindFamily conf == WAFamilyInet = createInetSocket conf