Add optional overload to the get_short and get_int functions
Rewrite packet handling for server browser