Cited source for Http code. Also, it turns out that creating a new project with the Java 8 SDK installed makes that project be based off the Java 8 SDK, which is in beta. It's now based on 7.