c.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
c.setRequestProperty("Content-Length", ""+urlPieces[1].length());
// TODO -- add'l headers for t-mobile?
// Getting the output stream may flush the headers
os = c.openOutputStream();
System.out.println("UTIL -- writing POST data: "+urlPieces[1]);
os.write(urlPieces[1].getBytes());
os.flush(); // Optional, getResponseCode will flush
// Getting the response code will open the connection,