Copied from Dart Editor

Layout for socket created, and a bit of starting code.