Made private message API use http