This commit fixes many minor bugs related to the bind and listen steps

It also remove some usused codes on DCCP module.
Signed-off-by: Ivo Calado <txithihausen@gmail.com>