FIX: hardcoded ip , FIX: make it works with http and https
remove tons of warnings (dirtyfix)
FIX: typo