always use http scheme for localhost

fixes #758