Getting answer from server using HttpConnection