Content length problem solved, new HTTP Library implemented