implemented advanced HTTP support