use unwrap to unwrap option values
don't use *
TODO
call the err on socket what it is?
really call the err what it is
get close_connection from headers