Well, yes, i'll add check for localhost, i simply thought that users can put 127.0.0.1 and think about localhost, maybe we should try socket if we have 127.0.0.1 and localhost...