static nio_t *create_unix_socket(const char *params)
{
  nio_t *nio;
  char *local;
  char *remote;

  printf("Creating UNIX domain socket %s\n", params);
  local = strtok((char *)params, ":");
  remote = strtok(NULL, ":");
  if (local == NULL || remote == NULL) {
     fprintf(stderr, "invalid UNIX domain socket syntax\n");
     return NULL;
  }
  nio = create_nio_unix(local, remote);
  if (!nio)
    fprintf(stderr, "unable to create UNIX NIO\n");
  return nio;
}
static nio_t *create_unix_socket(const char *params)
{
  nio_t *nio;
  char *local;
  char *remote;

  printf("Creating UNIX domain socket %s\n", params);
  local = strtok((char *)params, ":");
  remote = strtok(NULL, ":");
  if (local == NULL || remote == NULL) {
     fprintf(stderr, "invalid UNIX domain socket syntax\n");
     return NULL;
  }
  nio = create_nio_unix(local, remote);
  if (!nio)
    fprintf(stderr, "unable to create UNIX NIO\n");
  return nio;
}