Changed new client call to accept buffer sizes, while still keeping backwards compatibility