an http server in bash using netcat