fix: only write to cache when full content was read
fix NPE in LwHttp

hopefully this fixes #27, check mResposeStream != null.
release references to streams when socket is closed()
cancel tile loading when tile was removed from cache
android: ScaleBar layer is back