Change client side socket connection to not be url based