Oops fixed invalid use of java.net classes