Fixed SIGBUS fault

Mishandled passing structs into load_cert_files wrapper

Once memory was allocated for the structs in main()
 and the pointers were  correctly passed in GNUTLS was initialized
 successfully

Adding Makefile

Ignoring unnecessary files/directories
Created listening_for_client

Moved loop that listens for new connections into its
 own function
Ported to C++

All functions moved over to C++ classes

gtbcommunication.hh: GTBCommunication
  Handles communication with client
gtbconnection.hh: GTBConnection
  Handles connection attributes
Removed duplicate code from ported C->C++ files

All functions from comm.h have been moved and no longer
  has any files depending on it.

Removed all duplicate code that resulted from porting/rewriting
Code refactor

Refactored code structure

Combined GTBConnection and GTBCommunication into GTBCommunication
Removed unneeded comments and commented code
Removed unused #included libraries

Perfer .hpp to .hh, so renamed

Modified Makefile to reflect changes to the files
Added MySQL Connector/C++ Class

Implemented callback functions for GNUTLS session storage
  and retrieval

sqlconn will be a factory for the backend DB

Removed mysqlconn.c/h
Simplified gtbserver.c/h

Removed unnecessary comments
Added #define to handle threading support
Added function definitions into .h
Resolved TLS handshake error

Forgot to set the cert and key file...oops

Updated protobufs so that they are now useful
Added Licensing

Licensing GTB under the AGPL

Providing terms of licensing for
libraries which are linked against
Restructured project root and modified Protobufs

Moved *.c[c] to src/
Moved *.h[pp] to include/

Removed old protobuf files

Protobufs now have values for request and response values
Adding Protobuf messages Request and Response:
  both contain optional PatronList values
  Request has required request value and type
  Response has required response ID and value
Removed protobuf object files from OBJ var
TLS handshake now exists loop on success

TLS handshake was looping on success instead of exiting loop

 - while (gnutls_error_is_fatal (nRetVal) == 0);
 + while (gnutls_error_is_fatal (nRetVal) != GNUTLS_E_SUCCESS);
Fixed exit after sending response

TODO: not all protobuf fields are being send and/or
  received.
Resolved Response transmission problem

Response was being serialized to a string that was then sent over
 wire via gnutls_record_send. However, this function is in the C API
 so sending a string corrupts the data. Converting the Response to a
 char[]  via c_str resolves this issue.
Added C wrappers for accessing sessions in DB

In sqlconn:
extern int c_store_connection (
    void *,
    gnutls_datum_t,
    gnutls_datum_t);

extern int cpp_store_connection (
    void *,
    gnutls_datum_t,
    gnutls_datum_t);

extern int c_retrieve_connection (
    void *,
    gnutls_datum_t);

extern int cpp_retrieve_connection (
    void *,
    gnutls_datum_t);

Added to initTLSSession:
  gnutls_db_set_store_function (m_aSession, c_store_connection);
  gnutls_db_set_retrieve_function (m_aSession, c_retrieve_connection);
Added TLS session caching functions

Functions copied from GNUTLS docs.
See: 7.4.2 Echo Server with X.509 Authentication II
Moved caching code from gtbserver to communication
Implemented trivial authentication

As long as the values aren't empty strings the check returns
 successfully.

Implemented checkAuth (as above)
Changed sendAOK to sendResponse to handle both success and
 failure
listenForClient now expects incoming packet size to be sent
 preceeding the payload
Added test cases

Modified Makefile to allow for easily recompiling test files

Added include for patron protobuf

Expanded sendResponse parameter list to allow for sending premade
 protos

Implemented GTBCommunication::currRequest to handle a request for
 the rides currently assigned to a specific car

Incremented request IDs due to a problem in deserializing the value
 zero

Implemented MySQLConn::getCurr to query and return the corresponding
 ride from the DB for the specified car
Actually adding test cases