Fix unbind and disconnect arguments

Both need to pass the socket as the first argument.