Added the whole http communication

Signed-off-by: Thomas Spycher <tspycher@zerodine.com>