remove whitespace
use // instead of http:// (for ssl)