TCP/UDP Binding : fix .cfg issues, improve exception handling