remove calls to low level http methods and use express methods

Signed-off-by: Itai Koren <itkoren@gmail.com>