remove unneeded functions; fix ip-assigning when a domain is an alias of another domain and the ip's from the alias-domain are being read, no check for ssl/non-ssl was made resulting in an integrity constraint violation in the database

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>