Allow requests to be persistent
Fix a few bugs

Writing correct code is hard. srsly.
Minor fixes