Use simpler with-statement for web server accept

Can get rid of context manager stuff by using `[0]`