add query to LinkFormatProxy

add query to the proxy but still need to add it to the server