Add content-length and blank header to registration request, add "fromdomain" option...