Use server address instead of local address
Remove unneccessary argument
Modify the request content to fit the new protocol