Fix SERVER/CLIENT constants