It was using an internal library before and there were too much errors due to incomplete http's protocol implementation