fix #161 client now respects http/jsonrpc ports from config.json