Get some basic socket stuff working