Fix error checks for socket_prepare()
Add first integration for /dev/g_red_brick