Session Layer: service.c buffer size fix