http helpers

Signed-off-by: Tom Everett <tome@criticalmass.com>
needs basic-auth support

Signed-off-by: Tom Everett <tome@criticalmass.com>
ugh

Signed-off-by: Tom Everett <tome@criticalmass.com>