Strip off all server related parts.