Fix assertion failure on empty proxy URL