Stripe interview question

String manipulation and HTTP parsing.