changed the server api to match the new Rust net interfaces. Accepting a string slice for the ip.

Signed-off-by: Daniel Fagnan <dnfagnan@gmail.com>