strip port from domain for cookies