[SPARK-2936] Migrate Netty network module from Java to Scala

The Netty network module was originally written when Scala 2.9.x had a bug that prevents a pure Scala implementation, and a subset of the files were done in Java. We have since upgraded to Scala 2.10, and can migrate all Java files now to Scala.

https://github.com/netty/netty/issues/781

https://github.com/mesos/spark/pull/522

Sorry, wasn't asking about connectTimeout, I meant the Integer.valueOf(). I'm guessing it just doesn't compile without, which is kinda weird, you'd think there'd be a conversion from primitive to boxed in the Scala compiler.