initial commit

- context + socket almost functional