bugfix: empty namespace prefix
change post function to use http 1.1