Try to detect username and host