Move static_assert macro into its own header file
Don't include <limits.h> in util.h

This file doesn't actually seem to exist on AVR and nothing was used
from it anyway.
Moved sslConnected() to its own method