Limit connection sizes to mitigate denial of service attacks (closes #21)