Use ferds lhttpc fork.