Removed unneeded @SuppressWarnings
Lots of network tweaks and rewrote the host gateway.