Move prelogin packet to it's own file, add buf_tds_init to create a standard
tds packet and use it with the new tds_prelogin.