merge handler to server.go
add Settings ACK flag
cleanup
cleanup
cleanup
cleanup
remove bufio
rename