Fixed proxy handling, mod now works proper on servers