Statically inlined a couple of functions

These functions are called many times
within the context of websock.c
Trying to avoid so many call instructions