Fix HTTP POST headers and allmytrades API parsing