Updated HttpHelper now handles POST requests and cookies correctly. Restructured API class. API.RequestListener now returns Integer values instead of String